<?php
/**
 * A version of Config that uses a .ini file.
 */
class Config_Ini extends Config_File {
	/**
	 * Constructor.
	 *
	 * @param string $filename
	 */
	public function __construct($filename, $readonly = false) {
		parent::__construct($filename);
		$this->config += parse_ini_file($filename, true);
		$this->readonly = $readonly;
	}
}